package ${dao_package_name};


import ${request_package_name}.${table_name}Request;
import ${response_package_name}.${table_name}Response;

import java.util.List;
public interface ${table_name}Mapper {

    <#--int delete${table_name}ByRequest(${table_name}Request request);-->

    int delete${table_name}ById(Long id);

    int insert${table_name}(${table_name} request);

    int update${table_name}(${table_name} request);

    ${table_name} select${table_name}ByRequest(${table_name}Request request);

    ${table_name} select${table_name}ById(Long id);

    List<${table_name}Response> select${table_name}ForPage(${table_name}Request request);

    List<${table_name}Response> select${table_name}All(${table_name}Request request);

    List<${table_name}Response> select${table_name}ByIds(List list);



}